home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1997 August / Walnut Creek CDROM.7z / LISTINGS / V_13_12 / TAYLOR2.ZIP / GPIBOUT.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-07  |  350 b   |  20 lines

  1. // gpibout.cpp
  2. #include <iostream.h>
  3. #include <stdlib.h>
  4. #include "gpibio.h"
  5.  
  6. // OUTPUT CLASS FUNCTIONS
  7. gpibout::gpibout(int d,int b) : gpibio(b)  // constructor
  8. {
  9.    device = dvr[b]->open_device(d);
  10. }
  11.  
  12. // gout << string
  13. gpibout & gpibout::operator <<(char _FAR *s)
  14. {
  15.     sput(s);
  16.     return (*this);
  17. }
  18.  
  19. ... //[full source included on code disk -mb]
  20.